package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UmsResource implements Serializable {
    private Long id;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;//创建时间
    private String name;//资源名称
    private String url;//资源URL
    private String description;//描述
    private Long categoryId;//资源分类ID

}
